// import com.alibaba.druid.sql.ast.SQLName_ptr;
// import com.alibaba.druid.sql.ast.SQLStatementImpl;
// import com.alibaba.druid.sql.visitor.SQLASTVisitor;

#include "SQLExportDatabaseStatement.h"
#include "../../visitor/SQLASTVisitor.h"
#include "../SQLName.h"

SQLName_ptr SQLExportDatabaseStatement::getDb()
{
  return db;
}

void SQLExportDatabaseStatement::setDb(SQLName_ptr db)
{
  this->db = db;
}

BOOL_ptr SQLExportDatabaseStatement::isRealtime()
{
  return realtime;
}

void SQLExportDatabaseStatement::setRealtime(BOOL_ptr realtime)
{
  this->realtime = realtime;
}

void SQLExportDatabaseStatement::accept0(SQLASTVisitor_ptr v)
{
  if (v->visit(SharedObject(SQLExportDatabaseStatement)))
  {
    acceptChild(v, db);
  }
  v->endVisit(SharedObject(SQLExportDatabaseStatement));
}
